package com.woniu.service;

import com.woniu.entity.PageData;
import com.woniu.entity.dto.OperatorDTO;
import com.woniu.pojo.Operator;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sss
 * @since 2023-01-03
 */
public interface IOperatorService extends IService<Operator> {

    /**
     * 分页搜索查询
     * @param currentPage
     * 当前页
     * @param pageSize
     * 页面大小
     * @param operatorDTO
     * DTO
     * @return PageData
     * @author yemaf
     * @time 2023/01/03 09:54:04
     */
    PageData listSearch(Integer currentPage, Integer pageSize, OperatorDTO operatorDTO);

    /**
     * 编辑数据
     *
     * @param operator
     * @return Operator
     * @author yemaf
     * @time 2023/01/03 12:04:35
     */
    int edit(Operator operator);
}
